<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">

<head>
<meta content="HTML Tidy for Windows (vers 14 February 2006), see www.w3.org" name="generator" />
<meta content="text/html; charset=utf-8" http-equiv="Content-Type" />
<title><?php echo $title_for_layout?>-读享, 独阅乐, 不如众阅乐. PDF, EPUB,
      MOBI电子书下载</title>
<?php echo $this->Html->css('default_v2.css?v=20110501'); ?>
<link rel="stylesheet" type="text/css" href="/js/fancybox/jquery.fancybox-1.3.4.css"/>
<?php echo $scripts_for_layout?>
<script language="javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.6.1/jquery.js" type="text/javascript"></script>
<script language="javascript" src="/js/fancybox/jquery.fancybox-1.3.4.js" type="text/javascript"></script>
<script language="javascript" src="/js/jquery.form.js" type="text/javascript"></script>
<script language="javascript" src="/js/jquery-jtemplates.js" type="text/javascript"></script>
<script type="text/javascript">
//<![CDATA[

    var _gaq = _gaq || [];
    _gaq.push(['_setAccount', 'UA-19680906-3']);
    _gaq.push(['_trackPageview']);
    _gaq.push(['_trackPageLoadTime']);

    (function() {
    var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
    ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
    })();

    //]]>
    </script>
</head>

<body>

<div id="top-nav">
	<div id="user-status">
		<?php if( isset($isLogin) && $isLogin==1){ 
                            echo $user['name'].',欢迎回来';
		} else {?>
		<a href="/users/sina_login">用新浪微博账号登录</a> <?php } ?></div>
</div>
<div id="header">
	<div id="logo">
		<b><a href="/">读享</a></b><span>独阅乐, 不如众阅乐.</span> </div>
	<ul class="cat-list">
		<?php
                                        if( isset($series ) ){ 
                                        foreach( $series as $row ):?>
		<li><?php echo $this->Html->link($row["Serie"]["name"],"serie".'/'.$row["Serie"]['id']) ?>
		</li>
		<?php endforeach;
                                        }?>
	</ul>
</div>
<div id="content">
	<?php echo $content_for_layout?></div>
<div id="footer">
	<div id="links">
		<a href="/pages/about">关于读享</a>&nbsp;<a href="http://www.lupinlin.com" target="_blank">关于Lupin</a>
	</div>
	<div id="copyright">
		<a href="http://book.lupinlin.com">读享</a> powered by
		<a href="http://weibo.com/lupin" target="_blank">LupinLin</a> ©2011-2011
	</div>
</div>

</body>

</html>
